import { Injectable } from '@nestjs/common';
import { getCurrentDateNumber } from 'src/utils';
import { Cron, CronExpression } from '@nestjs/schedule';

@Injectable()
export class ConfigService {
  public redisCahceFootballPrefix = `${20251119}:Football`;

  @Cron(CronExpression.EVERY_DAY_AT_MIDNIGHT)
  init() {
    this.redisCahceFootballPrefix = `${20251119}:Football`;
  }
}
